3.1.12 \(\int \frac {1}{\sqrt {\log (c (d+e x))}} \, dx\) [12]

Optimal. Leaf size=25 \[ \frac {\sqrt {\pi } \text {erfi}\left (\sqrt {\log (c (d+e x))}\right )}{c e} \]

[Out]

erfi(ln(c*(e*x+d))^(1/2))*Pi^(1/2)/c/e

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {2436, 2336, 2211, 2235} \begin {gather*} \frac {\sqrt {\pi } \text {Erfi}\left (\sqrt {\log (c (d+e x))}\right )}{c e} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/Sqrt[Log[c*(d + e*x)]],x]

[Out]

(Sqrt[Pi]*Erfi[Sqrt[Log[c*(d + e*x)]]])/(c*e)

Rule 2211

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/Sqrt[(c_.) + (d_.)*(x_)], x_Symbol] :> Dist[2/d, Subst[Int[F^(g*(e - c*(
f/d)) + f*g*(x^2/d)), x], x, Sqrt[c + d*x]], x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !TrueQ[$UseGamma]

Rule 2235

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[F^a*Sqrt[Pi]*(Erfi[(c + d*x)*Rt[b*Log[F], 2
]]/(2*d*Rt[b*Log[F], 2])), x] /; FreeQ[{F, a, b, c, d}, x] && PosQ[b]

Rule 2336

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_), x_Symbol] :> Dist[1/(n*c^(1/n)), Subst[Int[E^(x/n)*(a + b*x)^p
, x], x, Log[c*x^n]], x] /; FreeQ[{a, b, c, p}, x] && IntegerQ[1/n]

Rule 2436

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.), x_Symbol] :> Dist[1/e, Subst[Int[(a + b*Log[c*
x^n])^p, x], x, d + e*x], x] /; FreeQ[{a, b, c, d, e, n, p}, x]

Rubi steps

\begin {align*} \int \frac {1}{\sqrt {\log (c (d+e x))}} \, dx &=\frac {\text {Subst}\left (\int \frac {1}{\sqrt {\log (c x)}} \, dx,x,d+e x\right )}{e}\\ &=\frac {\text {Subst}\left (\int \frac {e^x}{\sqrt {x}} \, dx,x,\log (c (d+e x))\right )}{c e}\\ &=\frac {2 \text {Subst}\left (\int e^{x^2} \, dx,x,\sqrt {\log (c (d+e x))}\right )}{c e}\\ &=\frac {\sqrt {\pi } \text {erfi}\left (\sqrt {\log (c (d+e x))}\right )}{c e}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 25, normalized size = 1.00 \begin {gather*} \frac {\sqrt {\pi } \text {erfi}\left (\sqrt {\log (c (d+e x))}\right )}{c e} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/Sqrt[Log[c*(d + e*x)]],x]

[Out]

(Sqrt[Pi]*Erfi[Sqrt[Log[c*(d + e*x)]]])/(c*e)

________________________________________________________________________________________

Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int \frac {1}{\sqrt {\ln \left (c \left (e x +d \right )\right )}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/ln(c*(e*x+d))^(1/2),x)

[Out]

int(1/ln(c*(e*x+d))^(1/2),x)

________________________________________________________________________________________

Maxima [C] Result contains complex when optimal does not.
time = 0.26, size = 25, normalized size = 1.00 \begin {gather*} -\frac {i \, \sqrt {\pi } \operatorname {erf}\left (i \, \sqrt {\log \left (c x e + c d\right )}\right ) e^{\left (-1\right )}}{c} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/log(c*(e*x+d))^(1/2),x, algorithm="maxima")

[Out]

-I*sqrt(pi)*erf(I*sqrt(log(c*x*e + c*d)))*e^(-1)/c

________________________________________________________________________________________

Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/log(c*(e*x+d))^(1/2),x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (co
nstant residues)

________________________________________________________________________________________

Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 63 vs. \(2 (20) = 40\).
time = 1.12, size = 63, normalized size = 2.52 \begin {gather*} \begin {cases} 0 & \text {for}\: c = 0 \\\frac {x}{\sqrt {\log {\left (c d \right )}}} & \text {for}\: e = 0 \\\frac {\sqrt {\pi } \sqrt {- \log {\left (c d + c e x \right )}} \operatorname {erfc}{\left (\sqrt {- \log {\left (c d + c e x \right )}} \right )}}{c e \sqrt {\log {\left (c d + c e x \right )}}} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/ln(c*(e*x+d))**(1/2),x)

[Out]

Piecewise((0, Eq(c, 0)), (x/sqrt(log(c*d)), Eq(e, 0)), (sqrt(pi)*sqrt(-log(c*d + c*e*x))*erfc(sqrt(-log(c*d +
c*e*x)))/(c*e*sqrt(log(c*d + c*e*x))), True))

________________________________________________________________________________________

Giac [C] Result contains complex when optimal does not.
time = 2.89, size = 25, normalized size = 1.00 \begin {gather*} \frac {i \, \sqrt {\pi } \operatorname {erf}\left (-i \, \sqrt {\log \left (c x e + c d\right )}\right ) e^{\left (-1\right )}}{c} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/log(c*(e*x+d))^(1/2),x, algorithm="giac")

[Out]

I*sqrt(pi)*erf(-I*sqrt(log(c*x*e + c*d)))*e^(-1)/c

________________________________________________________________________________________

Mupad [B]
time = 0.15, size = 45, normalized size = 1.80 \begin {gather*} \frac {\sqrt {\pi }\,\sqrt {-\ln \left (c\,\left (d+e\,x\right )\right )}\,\mathrm {erfc}\left (\sqrt {-\ln \left (c\,\left (d+e\,x\right )\right )}\right )}{c\,e\,\sqrt {\ln \left (c\,\left (d+e\,x\right )\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/log(c*(d + e*x))^(1/2),x)

[Out]

(pi^(1/2)*(-log(c*(d + e*x)))^(1/2)*erfc((-log(c*(d + e*x)))^(1/2)))/(c*e*log(c*(d + e*x))^(1/2))

________________________________________________________________________________________